<?php
/**
 * Created by PhpStorm.
 * User: xiaoxin
 * Date: 2018/10/18 0018
 * Time: 9:54
 */

session_start();
$_SESSION['user'] = ['name'=>'小新','age'=>17,'sex'=>'男'];